package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.JingfeiJiezhishijianMapper;
import com.ruoyi.system.domain.JingfeiJiezhishijian;
import com.ruoyi.system.service.IJingfeiJiezhishijianService;
import com.ruoyi.common.core.text.Convert;

/**
 * jingfeijiezhishijianService业务层处理
 * 
 * @author ruoyi
 * @date 2024-07-11
 */
@Service
public class JingfeiJiezhishijianServiceImpl implements IJingfeiJiezhishijianService 
{
    @Autowired
    private JingfeiJiezhishijianMapper jingfeiJiezhishijianMapper;

    /**
     * 查询jingfeijiezhishijian
     * 
     * @param danweijiezhiid jingfeijiezhishijian主键
     * @return jingfeijiezhishijian
     */
    @Override
    public JingfeiJiezhishijian selectJingfeiJiezhishijianByDanweijiezhiid(String danweijiezhiid)
    {
        return jingfeiJiezhishijianMapper.selectJingfeiJiezhishijianByDanweijiezhiid(danweijiezhiid);
    }

    /**
     * 查询jingfeijiezhishijian列表
     * 
     * @param jingfeiJiezhishijian jingfeijiezhishijian
     * @return jingfeijiezhishijian
     */
    @Override
    public List<JingfeiJiezhishijian> selectJingfeiJiezhishijianList(JingfeiJiezhishijian jingfeiJiezhishijian)
    {
        return jingfeiJiezhishijianMapper.selectJingfeiJiezhishijianList(jingfeiJiezhishijian);
    }

    /**
     * 新增jingfeijiezhishijian
     * 
     * @param jingfeiJiezhishijian jingfeijiezhishijian
     * @return 结果
     */
    @Override
    public int insertJingfeiJiezhishijian(JingfeiJiezhishijian jingfeiJiezhishijian)
    {
        return jingfeiJiezhishijianMapper.insertJingfeiJiezhishijian(jingfeiJiezhishijian);
    }

    /**
     * 修改jingfeijiezhishijian
     * 
     * @param jingfeiJiezhishijian jingfeijiezhishijian
     * @return 结果
     */
    @Override
    public int updateJingfeiJiezhishijian(JingfeiJiezhishijian jingfeiJiezhishijian)
    {
        return jingfeiJiezhishijianMapper.updateJingfeiJiezhishijian(jingfeiJiezhishijian);
    }

    /**
     * 批量删除jingfeijiezhishijian
     * 
     * @param danweijiezhiids 需要删除的jingfeijiezhishijian主键
     * @return 结果
     */
    @Override
    public int deleteJingfeiJiezhishijianByDanweijiezhiids(String danweijiezhiids)
    {
        return jingfeiJiezhishijianMapper.deleteJingfeiJiezhishijianByDanweijiezhiids(Convert.toStrArray(danweijiezhiids));
    }

    /**
     * 删除jingfeijiezhishijian信息
     * 
     * @param danweijiezhiid jingfeijiezhishijian主键
     * @return 结果
     */
    @Override
    public int deleteJingfeiJiezhishijianByDanweijiezhiid(String danweijiezhiid)
    {
        return jingfeiJiezhishijianMapper.deleteJingfeiJiezhishijianByDanweijiezhiid(danweijiezhiid);
    }
}
